package com.chzc.fm.duotin.ui.mine.utils;

/**
 * Created by BillSinla on 2016/7/1.
 */
public class MineUrl {

    public static String DOWNLOAD_URL = "http://c203.duotin.com/M00/45/13/wKgB5Vd4nzmAQ4L1AFTcUu6kTRQ580.mp3";

    //获取订阅的Url
    public static String getSubUrl(int page){
        return "http://api.duotin.com/user/subscribealbums?platform=android"
                + "&source="
                + "&longitude="
                + "&package=com.duotin.fm"
                + "&user_key=" + "ead2086b402214ed501b606d53d9600a"
                + "&version=" + "2.7.17"
                + "&page_size=100"
                + "&latitude="
                + "&device_token=AtgTNuvw2Y3ct8rEogirZvAtfCzdjW871cbIy9ZMY3uW"
                + "&page=" + page
                + "&channel=duotin"
                + "&device_key=000000000000000";
    }

    //获取关注的Url
    public static String getFollowUrl(int page){
        return  "http://api.duotin.com/user/PodcastList?" +
                "platform=android" +
                "&source=" +
                "&longitude=" +
                "&package=com.duotin.fm" +
                "&user_key=ead2086b402214ed501b606d53d9600a" +
                "&version=2.7.17" +
                "&page_size=20" +
                "&latitude=&device_token=AtgTNuvw2Y3ct8rEogirZvAtfCzdjW871cbIy9ZMY3uW" +
                "&page=" + page +
                "&channel=duotin" +
                "&device_key=000000000000000";
    }

    //获取关注的主播的详细个人界面的Url
    public static String getPodcastUrl(String Id){
        return  "http://api.duotin.com/podcast/index?" +
                "platform=android" +
                "&source=" +
                "&longitude=" +
                "&package=com.duotin.fm" +
                "&user_key=ead2086b402214ed501b606d53d9600a" +
                "&version=2.7.17" +
                "&latitude=" +
                "&device_token=AtgTNuvw2Y3ct8rEogirZvAtfCzdjW871cbIy9ZMY3uW" +
                "&podcast_id=" + Id +
                "&channel=duotin" +
                "&device_key=000000000000000";
    }

    //获取点赞的Url
    public static String getLikeUrl(int page){
        return  "http://api.duotin.com/user/likelist?" +
                "platform=android" +
                "&source=" +
                "&longitude=" +
                "&package=com.duotin.fm" +
                "&user_key=ead2086b402214ed501b606d53d9600a" +
                "&version=2.7.17" +
                "&page_size=20" +
                "&latitude=" +
                "&device_token=AtgTNuvw2Y3ct8rEogirZvAtfCzdjW871cbIy9ZMY3uW" +
                "&page=" + page +
                "&channel=duotin" +
                "&device_key=000000000000000";
    }

}
